package com.lenovo.smarttraffic.database;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

public class SensorDataDB extends LitePalSupport {

    private Date date;
    private String LightIntensity;
    private String humidity;
    private String temperature;
    private String pm25;
    private String roadState;
    private String co2;

    @Override
    public String toString() {
        return "SensorDataBean{" +
                "date=" + date + '\'' +
                ", LightIntensity='" + LightIntensity + '\'' +
                ", humidity='" + humidity + '\'' +
                ", temperature='" + temperature + '\'' +
                ", pm2.5='" + pm25 + '\'' +
                ", roadState='" + roadState + '\'' +
                ", co2='" + co2 + '\'' +
                '}';
    }

    public SensorDataDB(Date date, String lightIntensity, String humidity, String temperature, String pm25, String roadState, String co2) {
        this.date = date;
        this.LightIntensity = lightIntensity;
        this.humidity = humidity;
        this.temperature = temperature;
        this.pm25 = pm25;
        this.roadState = roadState;
        this.co2 = co2;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getLightIntensity() {
        return LightIntensity;
    }

    public void setLightIntensity(String lightIntensity) {
        LightIntensity = lightIntensity;
    }

    public String getHumidity() {
        return humidity;
    }

    public void setHumidity(String humidity) {
        this.humidity = humidity;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getPm25() {
        return pm25;
    }

    public void setPm25(String pm25) {
        this.pm25 = pm25;
    }

    public String getRoadState() {
        return roadState;
    }

    public void setRoadState(String roadState) {
        this.roadState = roadState;
    }

    public String getCo2() {
        return co2;
    }

    public void setCo2(String co2) {
        this.co2 = co2;
    }
}
